package day03;

public class Ifdemo {
    public static void main(String[] args) {
        double price = 300;
        if (price>500){
            price *= 0.8;
        }
        System.out.println("最后的消费金额为"+price);

        int scor = 55;
        if (scor>=0 && scor<=100){
            System.out.println("成绩合法");
        }
        System.out.println("继续执行");
    }
}
